-
Notifications
You must be signed in to change notification settings - Fork 90
feat(handler): add par2 directory handler #1166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I have no idea why there is a |
qkaiser
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please get rid of temporary commits (can be done with fixup) and delete the erofs leftovers (can be done by rebasing on upstream/main).
68a798e to
61d4df1
Compare
everything is now as it should be |
1e47f7f to
7af61d5
Compare
d953667 to
e15b97f
Compare
Parchive or PAR2, is a format for creating redundant data that helps detect and repair corrupted files. These archives typically accompany split-file sets (like multi-volume RAR or ZIP archives). Each PAR2 file is composed of multiple “packets.” The header starts with
PAR2\x00PKTCreate PAR2 file:
Verify PAR2 file:
Header :
Unblob identifies each PAR2 file in a given directory by validating the magic signature, computing the MD5 hash and validating it with the MD5 hash in the header. Since parchive is a repair tool, no extractor is specified.
[Sources]
https://docs.fileformat.com/compression/par/
https://parchive.github.io/
https://github.com/Parchive/par2cmdline/tree/master/src
https://parchive.github.io/doc/Parity%20Volume%20Set%20Specification%20v2.0.html